package com.kfm.hotel.service;

import com.github.pagehelper.PageInfo;
import com.github.yulichang.base.MPJBaseService;
import com.github.yulichang.extension.mapping.base.MPJDeepService;
import com.kfm.hotel.domain.RoomType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kfm.hotel.domain.SysUser;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【room_type】的数据库操作Service
* @createDate 2023-06-12 10:23:37
*/
//联查继承
public interface RoomTypeService extends MPJDeepService<RoomType> {
    //3.从roomtypecontroller找寻list方法
    //分页功能
    PageInfo<RoomType> list(RoomType roomType, Integer page, Integer limit);
    //获取房间类型
    List<RoomType> getRoomTypes();
}
